package org.zfes.snowier.cloud.zbss.cms.topic.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;

import org.zfes.snowier.cloud.zbss.cms.topic.model.CmsTopicContent;
public interface ICmsTopicContentService{

	 Optional<CmsTopicContent> loadCmsTopicContentById(Long id);
	
	 void createCmsTopicContent(CmsTopicContent cmsTopicContent);
	
	 void updateCmsTopicContent(CmsTopicContent cmsTopicContent);

	 void deleteCmsTopicContent(Long id);
	
	 DataSet loadCmsTopicContentDataSet(Map<String, Object> params);
	 
	 List<CmsTopicContent> loadByTopicId(Long topicId);
	 
 	void setCmsTopicContentStatus(Long id, Byte status);
}